-- GENERATED SPELL FOR [Twilight Whelp] --


function spell0_30890(pUnit, Event) --@Fade Armor,n/a--
pUnit:FullCastSpellOnTarget(60708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30890', 15316, 1)
end

function Sorts_30890(pUnit, Event)
local choix_sorts_30890 = math.random(0, 0)
if choix_sorts_30890 == 0 then
pUnit:RegisterEvent('spell0_30890', 1, 1)
end
end

function mob30890_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30890', math.random(1500, 3000), 1)
end

function mob30890_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30890_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30890_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30890, 1, 'mob30890_Action')
RegisterUnitEvent(30890, 2, 'mob30890_Leave')
RegisterUnitEvent(30890, 3, 'mob30890_Kill')
RegisterUnitEvent(30890, 4, 'mob30890_Die')
